<?php echo $html->css('report'); ?>
<div id="main_school" class="clearfix">
    <div id="content_school" class="clearfix">
        <div class="list_content">
            <div style="float:left; padding-left:10px;">
                <?php echo $html->image('logoSchool.jpg');?>
            </div><b style="font-size:28px;">Sponsors Report</b>
            <div  style="float:right;">
		            	<?php
							echo $this->Paginator->counter(array(
							'format' => __('Page %page% of %pages%', true)
							));
					    ?>
				    </div>
			    
				    <div class="pages" style="float:right;">
				        <?php echo $this->Paginator->prev('<< ' . __('previous', true), array(), null, array('class'=>'disabled'));?>
				        | 
				        <?php echo $this->Paginator->numbers();?>
				        |
				        <?php echo $this->Paginator->next(__('next', true) . ' >>', array(), null, array('class' => 'disabled'));?>
    				</div>
        </div>
        <div class="list_content">
            <?php foreach ($sponsors as $sponsor) { ?>
            <table border="0" cellpadding="0" cellspacing="0" width="100%">
                <tr>
                    <td width="35%" colspan="2">
                        <b style="color:#3323a7;">
                            <?php echo $sponsor['Sponsor']['sponsorName']; ?>
                        </b>
                    </td>
                    <td width="35%" colspan="2">
                        <b><a href=""><?php echo $sponsor['Sponsor']['website']; ?></a></b>
                    </td>
                    <td width="30%">
                    </td>
                </tr>
                <tr>
                    <td width="10%">
                        <b>Main Contact</b>
                    </td>
                    <td width="25%">
                        <?php echo $sponsor['Contact']['contactName']; ?>
                    </td>
                    <td width="13%">
                        <b>Marketing Contact</b>
                    </td>
                    <td width="22%">
                        <?php echo $sponsor['Sponsor']['maketingContact']; ?>
                    </td>
                    <td>
                       <?php echo $sponsor['Contact']['address1']; ?>
                    </td>
                </tr>
                <tr>
                    <td>
                        <b>Main Phone</b>
                    </td>
                    <td>
                        <?php echo $phone->format_phone( $sponsor['Contact']['phone']); ?>
                    </td>
                    <td>
                        <b>Marketing Phone</b>
                    </td>
                    <td>
                        <?php echo $phone->format_phone( $sponsor['Sponsor']['maketingPhone']); ?>
                    </td>
                    <td>
                        <?php echo $sponsor['Contact']['address2']; ?>
                    </td>
                </tr>
                <tr>
                    <td>
                        <b>Main Email</b>
                    </td>
                    <td>
                        <?php echo $sponsor['Contact']['email']; ?>
                    </td>
                    <td>
                        <b>Marketing Email</b>
                    </td>
                    <td><?php echo $sponsor['Sponsor']['maketingEmail']; ?></td>
                    <td>
                        Aurora, NE 68820
                    </td>
                </tr>
                <tr height="20">
                    <td colspan="5">
                    </td>
                </tr>
                <tr>
                    <td style="text-align:right;">
                        <b>Notes</b>&nbsp;&nbsp;
                    </td>
                    <td colspan="4">
                        <div class="text"><?php echo $sponsor['Sponsor']['note']; ?></div>
                        <span style="padding-left:30px; font-style:italic;">Sponsor ID</span>
                        <span style="padding-left:85px; font-style:italic;"><?php echo $sponsor['Sponsor']['id']; ?></span>
                    </td>
                </tr>
            </table>
        </div>
        <div class="list_content" style="border-bottom:5px solid #040404;">
            <div style="float:left; padding:10px 5px; border:2px solid #040404; margin:5px; font-weight:bold; line-height:20px;">
                Sponsored
                <br/>
                Schools
            </div>
            <div style="float:left; padding-left:120px; font-weight:bold; line-height:30px;">
                <?php echo $sponsor['School']['schoolName'];?>
            </div>
            <div style="float:left; padding-left:35px; font-weight:bold; line-height:30px;">
                ~ Msg provided by NebraskaLand Bank ~
            </div>
        </div>
        <?php } ?>
    </div>
</div>
